<template>
    <div>

        <p style="font-weight: bold" class="interfaceHead"><i class="el-icon-s-promotion"></i>用户首页</p>
        <el-divider></el-divider>

        <el-carousel :interval="4000" type="card" height="320px" >
            <el-carousel-item v-for="item in items" :key="item">
                <img  :src="item" width="100%" height="100%"/>
            </el-carousel-item>
        </el-carousel>

    </div>
</template>

<script>
    export default {
        name: "UserInterface",
        data() {
            return {
                //require模块加载器
                items:[require('./06.png'),
                    require('./01.png'),
                    require('./02.png'),
                    require('./03.png'),
                    require('./04.png'),
                    require('./05.png'),
                    ]
            }
        }
    }
</script>

<style scoped>
    .interface{
        color: #cb4c0c;
        align-items: center;
        font-size: 40px;
        text-align: center;
        margin-top: 200px;
    }
    .intertext{
        color: #cb4c0c;
        align-items: center;
        font-size: 20px;
        text-align: center;
    }
    .el-carousel{
        margin-top: 100px;
    }



</style>